<?php
/**
 * manage the tree
 *
 */
class managerComponent extends sfComponent
{
    public function execute($request)
    {
        /**************** belows are defined in default/indexAction  *****************/

        /******** jstree required, begin *******/
//        $this->getResponse()->addJavaScript('jquery/jquery.cookie.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/jquery.hotkeys.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/jquery.metadata.js', 'last');
//        $this->getResponse()->addJavaScript('lib/sarissa.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.min.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.checkbox.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.contextmenu.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.cookie.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.hotkeys.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.metadata.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.themeroller.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.xml_flat.js', 'last');
//        $this->getResponse()->addJavaScript('jquery/plugins/jstree/jquery.tree.xml_nested.js', 'last');
//        // jstree required, end
//
//        //component js required, begin
//        $this->getResponse()->addJavaScript("backend/goodsCategory/".__CLASS__.".js", 'last');
//        //component js required, begin
//
//        //component css required, begin
//        $this->getResponse()->addStylesheet("backend/goodsCategory/".__CLASS__.".css", 'last');
//        //component css required, begin
         /******** jstree required, end *******/
    }

}